//引入相关的包
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { ElMessage } from "element-plus";

//全局引入elemessage，挂载到vue实列对象上,全局使用

import "./style/index.scss";
import "element-plus/theme-chalk/dark/css-vars.css";
import "element-plus/theme-chalk/el-message.css";

const app = createApp(App);
app.config.globalProperties.$message = ElMessage;
app.use(router).use(store).mount("#app");
